home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 601 b | 28 lines | [TEXT/CWIE] |
- // IntegerFaceMetrics.h
-
- #ifndef IntegerFaceMetrics_h
- #define IntegerFaceMetrics_h
-
- #ifndef Integers_h
- #include "Integers.h"
- #endif
-
- class Face;
-
- class IntegerFaceMetrics: public FontInfo
- {
- public:
- IntegerFaceMetrics() {}
- IntegerFaceMetrics( const Face& );
-
- static const IntegerFaceMetrics& Current();
-
- int16 Ascent() const { return ascent; }
- int16 Descent() const { return descent; }
- int16 Leading() const { return leading; }
- int16 UnleadedHeight() const { return ascent + descent; }
- int16 LeadedHeight() const { return ascent + descent + leading; }
- };
-
- #endif
-